import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('NetDefine')
export class NetDefine {
  public static GAME_MAIN = 200;

  public static GAME_SUB_SOCKET_ERROR = 0xEE00;
  public static GAME_C_USER_NO_MONEY = 0XEE01;
  public static GAME_C_USER_GET_MONEY_ERROR = 0XEE02;
  public static GAME_SERVER_CLOSE = 0XEE03;
  public static GAME_MATCH_OVER = 0XEE04;



  public static GAME_SUB_SOCKET_SUCCESS = 99;
  public static GAME_C_SUB_USER_HEAD_INFO_RETURN = 97;
  public static GAME_SUB_GAME_CONFIG = 0XCC01;



  public static GAME_C_SUB_ENTER_ROOM: number = 100;
  public static GAME_C_SUB_ENTER_ROOM_RETURN: number = 200;
  public static GAME_C_SUB_BET: number = 101;
  public static GAME_C_SUB_BET_RETURN: number = 201;
  
  public static  GAME_C_SUB_MATCH_RANKING = 107;//获取比赛排行榜
  public static  GAME_C_SUB_MATCH_RANKING_RETURN = 207;//返回信息

  public static  GAME_C_SUB_MATCH_RANKING_SELF = 108;
  public static  GAME_C_SUB_MATCH_RANKING_SELF_RETURN = 208;








}



